package com.lanchetech.dao;

import com.lanchetech.bean.vo.AreaVO;
import com.lanchetech.entity.Street;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface StreetMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Street record);

    int insertSelective(Street record);

    Street selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Street record);

    int updateByPrimaryKey(Street record);

    List<AreaVO> findAllByArea(@Param("area")Long area);

    Street findOneByStreet(@Param("street")Long street);


}